package com.cxm.homework4.anno;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("com/cxm/homework4/anno/spring-config.xml");
        UserController userController = ac.getBean(UserController.class);
        userController.say();
    }
}
